import {Pipe, PipeTransform} from '@angular/core';
import {GnPipe} from './PipeTypes';

@GnPipe('arrayJoin')
@Pipe({name: 'arrayJoin'})
export class GnArrayJoinPipe implements PipeTransform {
  transform(value: any[], separator: string): string {
    return value.join(separator);
  }
}
